package cn.bluemobi.platform.service;

import java.util.List;
import java.util.Map;

import cn.bluemobi.common.core.dto.MapDto;
import cn.bluemobi.common.core.dto.Page;
import cn.bluemobi.common.core.dto.PageCondition;
import cn.bluemobi.platform.entity.commodity.Commodity;
import cn.bluemobi.platform.entity.system.User;

public interface CommodityService {

	Page<Commodity> findCommoditys(PageCondition cond, User user);

	Commodity findCommodityDetail(String commodityId);

	MapDto saveOrUpdate(Commodity commodity, User user);

	MapDto deleteCommodity(String commodityId, User user);

	List<Map<String, Object>> findMerchantList();

	List<Map<String, Object>> findCategoryList(String level, String parent);

}
